{% extends "park/base.html" %}

{% block css %}
{% endblock %}

{% block content %}
            <script type="text/javascript">
                var primary_menu = "menu_2";
                var sub_menu = "menu_2_1";
            </script>
            <div class="col-md-12">
                <h3 class="company-name">
                    {{ m.enterprise.name }}
                    <span style='font-size:6px;color:black;'>
                        添加于:{{ m.add_time | date:"Y-m-d" }}
                    </span>
                </h3>
                <div class="panel panel-primary">
                    <div class="panel-heading">
                        <div class="panel-title"><h3>原辅材料输入及使用</h3></div>
                        <div class="panel-options">
                            <a href="#" data-rel="collapse"><i class="entypo-down-open"></i></a>
                            <!--<a href="#" data-rel="reload"><i class="entypo-arrows-ccw"></i></a>-->
                        </div>
                        <div class="stay_right">
                           <!--  <a href="/chemicals/materialEdit/{{ m.id }}" class="btn btn-info">修改</a> -->
                        </div>
                    </div>
                    <div class="panel-body with-table">

                    <form>
                    <table class="input_in table-detail">
                        <tr>
                            <th colspan=2>产品编号</th>
                            <td>{{ m.product_id }}</td>
                        </tr>
                        <tr>
                            <th colspan=2>原辅料编号</th>
                            <td>{{ m.number }}</td>
                        </tr>
                        <tr>
                            <th colspan=2>原辅材料名称</th>
                            <td>{{ m.name }}</td>
                        </tr>
                        <tr>
                            <th colspan=2>化学名称</th>
                            <td>{{ m.chemicals_name }}</td>
                        </tr>
                        <tr>
                            <th colspan=2>CAS号</th>
                            <td>{{ m.cas }}</td>
                        </tr>
                        <tr>
                            <th colspan=2>是否属危化品</th>
                            <td>{{ m.is_dangerous }}</td>
                        </tr>
                        <tr>
                            <th colspan=2>是否为重点环境管理危险品</th>
                            <td>{{ m.is_emphasis }}</td>
                        </tr>
                        <tr>
                            <th colspan=2>物质形态</th>
                            <td>{{ m.physical_form }}</td>
                        </tr>
                        <tr>
                            <th colspan=2>危害特性</th>
                            <td>{{ m.hazard_pro }}</td>
                        </tr>
                        <tr>
                            <th colspan=2>外界输入量（t/a）</th>
                            <td>{{ m.input_amount }}</td>
                        </tr>
                        <tr>
                            <th colspan=2>来源</th>
                            <td>{{ m.source }}</td>
                        </tr>
                        <tr>
                            <th colspan=2>输入方式</th>
                            <td>{{ m.input_mode }}</td>
                        </tr>
                        <tr>
                            <th colspan=2>循环使用量（t/a）</th>
                            <td>{{ m.usage_amount }}</td>
                        </tr>
                        <tr>
                            <th colspan=2>贮存方式</th>
                            <td>{{ m.storage_mode }}</td>
                        </tr>
                        <tr>
                            <th width="150" rowspan=2>系统内最大存量（t）</th>
                            <td width="50" class="show_border_left">生产区</td>
                            <td>{{ m.max_sto_amount }}</td>
                        </tr>
                        <tr>
                            <td class="show_border_left">贮存区</td>
                            <td>{{ m.max_input_amount }}</td>
                        </tr>
                    </table>
                    </form>
                    </div>
                </div>
            </div>
{% endblock %}

{% block js %}
{% endblock %}